@extends('admin.layouts.app')
@section('css')

@endsection

@section('content')
<div class="">
	<div class="page-title">
		<div class="title_left">
			<h3>个人中心</h3>
		</div>
	</div>

	<div class="clearfix"></div>
	@include('flash::message')
	<div class="row">
		<div class="col-md-12 col-sm-12 col-xs-12">
			<div class="x_content">
					<div class="col-md-12 col-sm-12 col-xs-12">
						<div class="x_panel">
							<div class="x_title">
								<h2>修改密码</h2>
								<div class="clearfix"></div>
							</div>
							<div class="x_content">
								<br />
								<form class="form-horizontal form-label-left" action	= "{{route('personal.psdsave')}}" method="post">
									{{ csrf_field() }}
									<div class="form-group{{ $errors->has('newpsd') ? ' has-error' : '' }}">
										<label class="control-label col-md-3 col-sm-3 col-xs-12">新密码<span class="required">*</span></label>
										<div class="col-md-6 col-sm-6 col-xs-12">
											<input type="password" name="newpsd" class="form-control" value="{{old('newpsd')}}">
											@if ($errors->has('newpsd'))
											<span class="help-block"> <strong>{{ $errors->first('newpsd') }}</strong> </span>
											@endif
										</div>
									</div>
									<div class="form-group{{ $errors->has('confirmpsd') ? ' has-error' : '' }}">
										<label class="control-label col-md-3 col-sm-3 col-xs-12">确认密码<span class="required">*</span></label>
										<div class="col-md-6 col-sm-6 col-xs-12">
											<input type="password" name="confirmpsd" class="form-control" value="{{old('confirmpsd')}}">
											@if ($errors->has('confirmpsd'))
											<span class="help-block"> <strong>{{ $errors->first('confirmpsd') }}</strong> </span>
											@endif
										</div>
									</div>
									
									<div class="ln_solid"></div>
									<div class="form-group">
										<div class="col-xs-12 text-center">
											<button type="submit" class="btn btn-success">
											修改
											</button>
										</div>
									</div>
			
								</form>
							</div>
						</div>
					</div>
				</div>
		</div>
	</div>
</div>
@endsection

@section('js')

@endsection
